body {
    font-family: Arial, sans-serif;
    background-image: url('../images/bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    padding: 0;
}

.register-container {
    text-align: center;
    width: 300px;
    margin: 0 auto;
    padding: 25px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.register-container h2 {
    margin-top: 0;
    font-size: 24px;
    color: #333;
}

.register-container form {
    display: flex;
    flex-direction: column;
}

.register-container input {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.register-container button {
    padding: 12px 25px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #007BFF, #0056b3); /* 渐变背景 */
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 外阴影 */
}

.register-container button:hover {
    transform: translateY(-3px); /* 悬停时上移效果 */
    background: linear-gradient(135deg, #0056b3, #003f7f); /* 渐变色变暗 */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* 增强阴影 */
}

.register-container button:active {
    transform: translateY(1px); /* 点击时按钮轻微下沉 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 点击时减少阴影 */
}

.register-container p {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.register-container a {
    color: #007BFF;
    text-decoration: none;
}

.register-container a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .register-container {
        width: 90%;
    }

    .register-container button {
        width: 100%;
    }
}